package mylab.base.model;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import mylab.base.Identifiable;

@Data
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public abstract class BaseLongIdPojo extends BaseIdPojo<Long> {
    @Override
    public int compareTo(Identifiable<Long> o) {
        return id.compareTo(o.getId());
    }
}
